import request from '@/utils/request.js';
export const room_list = () => {
  return request({
    url: '/pc/room/index',
    method: 'post',
  });
};
export const Settlement_list = (data) => {
  return request({
    url: '/pc/Settlement/index',
    method: 'post',
    data,
  });
};
export const Settlement_del = (data) => {
  return request({
    url: '/pc/Settlement/del',
    method: 'post',
    data,
  });
};
export const Settlement_add = (data) => {
  return request({
    url: '/pc/Settlement/add',
    method: 'post',
    data,
  });
};
export const room_add = (data) => {
  return request({
    url: '/pc/room/add',
    method: 'post',
    data,
  });
};
export const room_hospital = async (data) => {
  return request({
    url: '/pc/room/hospital',
    method: 'post',
    data,
  });
};
export const discharge_edit = async (data) => {
  return request({
    url: '/pc/room/discharge',
    method: 'post',
    data,
  });
};